//
//  ResponseLineDetailModel.h
//  didacar
//
//  Created by 度周末网络-王腾 on 15/12/9.
//  Copyright © 2015年 dzmmac. All rights reserved.
//

#import "BaseModel.h"


@interface UpdownstationModel : BaseModel

@property (nonatomic , assign) NSInteger id;
@property (nonatomic , strong) NSString *StationName;
@property (nonatomic , strong) NSDecimalNumber *Lng;
@property (nonatomic , strong) NSDecimalNumber *Lat;
@property (nonatomic , strong) NSString *ArriveTime;
@property (nonatomic , assign) NSInteger Order;

// 1-首站，3-上车，4-下车，2-末站，5-拐点
@property (nonatomic , assign) NSInteger Type;

@end



@interface TicketTypeModel : BaseModel

// 1-日票 2-月票
@property (nonatomic , assign) NSInteger TicketId;
@property (nonatomic , strong) NSString *TicketName;

@end

@interface ResponseLineDetailModel : BaseModel


@property (nonatomic , assign) NSInteger PiaoJId;
@property (nonatomic , assign) NSInteger LineId;

// 上车点
@property (nonatomic , assign) NSInteger StartStationId;
@property (nonatomic , strong) NSString *StartStation;

// 下车点
@property (nonatomic , assign) NSInteger EndStationId;
@property (nonatomic , strong) NSString *EndStation;

@property (nonatomic , strong) NSString *SendTime;

@property (nonatomic , strong) NSDecimalNumber *TicketPrice;
@property (nonatomic , strong) NSDecimalNumber *SalePrice;
@property (nonatomic , strong) NSString *UserTime;
@property (nonatomic , strong) NSDecimalNumber *Mileage;
@property (nonatomic , assign) NSInteger IsSale;

// 上车点类型 0-首站，1-途径
@property (nonatomic , strong) NSString *StartStationType;

// 上下车站点
@property (nonatomic , strong) NSArray *updownstation;

// 票类型
@property (nonatomic , strong) NSArray *ticketType;

@property (nonatomic , strong) NSDecimalNumber *StartLng;
@property (nonatomic , strong) NSDecimalNumber *StartLat;
@property (nonatomic , strong) NSDecimalNumber *EndLng;
@property (nonatomic , strong) NSDecimalNumber *EndLat;

// 是否已经报名 0-未报，1-已报
@property (nonatomic , assign) NSInteger isSignUp;

// Int	报名人数
@property (nonatomic , assign) NSInteger SignUpNum;
// Int	满多少开班
@property (nonatomic , assign) NSInteger WaitNum;
@property (nonatomic , strong) NSString *TargetId;


// 订单明细
@property (nonatomic , strong) NSString *TicketOrderDetialId;


@property (nonatomic , strong) NSString *QRCode;

@property (nonatomic , assign) NSInteger CanRide;

@property (nonatomic , strong) NSArray *IList;

// 是否已乘车1-已乘，2-未乘
@property (nonatomic , assign) NSInteger isDriver;

// 电子票是否过期，1-已过期，2-未过期
@property (nonatomic , assign) NSInteger IsTicketGq;

// 乘车时间
@property (nonatomic , strong) NSString *SendDate;
@property (nonatomic , assign) NSInteger TicketOrderId;
@property (nonatomic , assign) NSInteger TicketOrderDetailId;

@end

